//
//  CVCellOfSliderOfReadArticle.m
//  LCOnePsychology
//
//  Created by li cheng on 16/9/1.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "CVCellOfSliderOfReadArticle.h"

@implementation CVCellOfSliderOfReadArticle
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc] init];
        [self.contentView addSubview:_label];
        _label.textAlignment = 1;
    }
    return self;
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes{
    [super applyLayoutAttributes:layoutAttributes];
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.label.frame = self.contentView.bounds;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
